﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for Usuario
/// </summary>
public class Usuario
{
    private string nombre;
    private string apellido;
    private string email;
    private string username;
    private string password;
    private string rol;
    private Sector sector;
    private string interno;

    public string Nombre
    {
        get
        {
            return nombre;
        }
        set
        {
            nombre = value;
        }
    }
    public string Apellido
    {
        get
        {
            return apellido;
        }
        set
        {
            apellido = value;
        }
    }
    public string Email
    {
        get
        {
            return email;
        }
        set
        {
            email = value;
        }
    }
    public string Username
    {
        get
        {
            return username;
        }
    }
    public string Password
    {
        get
        {
            return password;
        }
        set
        {
            password = value;
        }
    }
    public string Rol
    {
        get
        {
            return rol;
        }
        set
        {
            rol = value;
        }
    }
    public Sector Sector
    {
        get
        {
            return sector;
        }
        set
        {
            sector = value;
        }
    }

    public string Interno
    {
        get
        {
            return interno;
        }
        set
        {
            interno = value;
        }
    }
    
	public Usuario()
	{
		//
		// TODO: Add constructor logic here
		//
	}
    public Usuario(string nomb, string apell, string em, string usern, string pass, string roln, Sector sect, string intern)
    {
        nombre = nomb;
        apellido = apell;
        email = em;
        username = usern;
        password = pass;
        rol = roln;
        sector = sect;
        interno = intern;
    }
}